<?php /* Smarty version 2.6.18, created on 2009-05-26 02:03:37
         compiled from default/company_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'default/company_list.html', 62, false),array('modifier', 'urlencode', 'default/company_list.html', 87, false),array('modifier', 'cat', 'default/company_list.html', 146, false),array('modifier', 'strip_tags', 'default/company_list.html', 147, false),array('modifier', 'replace', 'default/company_list.html', 147, false),array('modifier', 'date_format', 'default/company_list.html', 148, false),array('modifier', 'truncate', 'default/company_list.html', 150, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
" />
<title><?php echo $this->_tpl_vars['pageTitle']; ?>
</title>
<meta name="Author" content="stevenchow811@163.com" />
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
" />
<meta name="description" content="所有<?php echo $this->_tpl_vars['pageTitle']; ?>
公司库详细列表浏览" />
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/kongqineng.css" rel="stylesheet" type="text/css" />
<style>
.bgcontain { margin: 0 auto; width: <?php echo $this->_tpl_vars['page_width']; ?>
}
#abc { font-size: 12px; font-weight: bold; height: 20px; margin: 8px 0; padding: 8px 2px 8px 10px; border: 1px solid #E2E44F; background: #F9FDDB; } * html #abc { padding: 8px 0 3px 10px; } 
#abc span { float: left; color: #9F6536; margin-right: 8px; padding: 3px 4px 1px 4px; background: url(<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/abc_bg.gif) no-repeat; } 
#abc a { float: left; display: block; color: #9F6536; line-height: 19px; text-decoration: none; text-align: center; width: 20px; height: 20px; margin: 0 3px; background: url(<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/abc_a.gif) 0 -40px; } 
#abc a:hover { color: #0076AF; background: url(<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/abc_a.gif) 0 -20px; } #abc span#totop { float: right; font-size: 12px; padding: 5px 0 0; background: none; } 
#abc span#totop a { line-height: normal; width: auto; padding: 0 0 0 15px; background: url(<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/totop.gif) no-repeat left 0; } 
#abc span#totop a:hover { color: #105CB6; text-decoration: underline; }
#lists li{
    list-style-type:none;
    width:200px;
    height:25px;
    line-height:25px;
    text-align:left;
    float:left;
    margin-left:1px;
    margin-bottom:1px;
}
</style>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/mixselect.js"></script>
<?php echo $this->_tpl_vars['xajax_javascript']; ?>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.banner1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!-- a*d position --></td>
  </tr>
</table>
<table width=<?php echo $this->_tpl_vars['page_width']; ?>
 height=30 border=0 align=center cellPadding=0 cellSpacing=0 class="corhui">
  <tbody>
    <tr> 
      <td width=785><img height=13 src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon1.gif" 
      width=14> 您当前位置： <?php echo $this->_tpl_vars['pagePosition']; ?>
</td>
    </tr>
  </tbody>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="365">
	<table width="365" height="27" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg"> 
            <div align="center"><strong><a id="IndustryTab1" href="#" onClick=" changeTab(1);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,1);">求购信息</a></strong></div></td>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg"> 
            <div align="center"><a id="IndustryTab2" href="#" onClick="changeTab(2);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,2);"><strong>供应信息</strong></a></div></td>
          <td width="90" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_01.jpg"> 
            <div align="center"><strong><a id="IndustryTab3" href="javascript:void(0);" onClick="changeTab(3);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,3);">公司库</a></strong></div></td>
          <td width="91" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/menu_02.jpg">
		  <div align="center"><a id="IndustryTab4" href="javascript:void(0);" onClick="changeTab(4);xajax_loadDivSubIndustry(<?php echo ((is_array($_tmp=@$_GET['sid'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')); ?>
,4);">商品库</a></div></td>
        </tr>
      </table></td>
    <td width="395" valign="top" class="corhui"> 
      <div align="right"> <img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon.gif" width="11" height="11"> <a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
user/register.php?ob=company" target="_blank">我要加入公司</a>&nbsp;&nbsp; 
        <img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/icon.gif" width="11" height="11"> <a href="../help.php" target="_blank">如何加入公司?</a>&nbsp;&nbsp;&nbsp;</div></td>
  </tr>
  <tr> 
    <td colspan="2" valign="top"> 
	<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0" class="lineyellow">
        <tr> 
          <td class="coryellow" height="4"></td>
        </tr>
        <tr> 
          <td class="coryellow2"height="8">          
			  <div id="divSubIndustry">
			  <table>
			  <tr>
			  <?php $_from = $this->_tpl_vars['OtherIndustry']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fore1'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fore1']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['data']):
        $this->_foreach['fore1']['iteration']++;
?>
			  <td><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
company.php?ac=list&industryname=<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['Name'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
"><?php echo $this->_tpl_vars['data']['Name']; ?>
</a>(<?php echo $this->_tpl_vars['data']['BuyAmount']; ?>
)</td>
			  <?php if (!($this->_foreach['fore1']['iteration'] % 6)): ?>
			  </tr><tr>
			  <?php endif; ?>
			  <?php endforeach; else: ?>
			  <td>该行业无子分类</td>
			  <?php endif; unset($_from); ?>
			  </tr>
			  </table>
			  </div>
		  </td>
        </tr>
        <tr> 
          <td class="coryellow2"> 
            <table height=35 cellSpacing=3 cellPadding=3 width="100%" align=center border=0>
              <form name="SearchForm" action="<?php echo $_SERVER['PHP_SELF']; ?>
" method="get">
                <tbody>
                  <tr> 
                    <td class=f2 align=middle width=85><select name="country_id" id="countryid" USEDATA="dataSrc2" SUBCLASS="1"></select></td>
                    <td width=85><select name="province_id" id="provinceid" USEDATA="dataSrc2" SUBCLASS="2">
                          </select></td>
                    <td width=115><select name="aindustry" id="aindustry" USEDATA="dataSrc" SUBCLASS="1">
                          </select></td>
                    <td align=middle width=105><input name="keyword" value="输入关键字" size="18" onFocus="if(this.value=='输入关键字'){this.value='';this.style.color='#000'}" onBlur="if(this.value==''){this.value='输入关键字';this.style.color='#808080'}" ></td>
                    <td align=middle width=87><input type="submit" name="search_list" value="--筛 选--"></td>
                  </tr>
              </form>
            </table></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="corhui">
  <tr> 
    <td> 
      <table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" cellpadding="3" cellspacing="0">
        <tr> 
          <td height="20"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="5" cellspacing="1" class="font12white">
  <tr class="coryellow"> 
    <td width="70" height="30" align="center"><strong>会员等级</strong></td>
    <td width="405" align="center"><strong>公司/主营产品、服务</strong></td>
    <td width="70" align="center"><strong>经营模式/企业标识</strong></td>
    <td width="70" align="center"><strong>地区</strong></td>
    <td width="75" align="center"><strong>信誉度指数</strong></td>
    <td width="70" align="center"><strong>给我留言</strong></td><td width="70" align="center" class="z6" rowspan="<?php echo $this->_tpl_vars['companynum']; ?>
">最新行业咨信<table><?php echo $this->_tpl_vars['Newstype'][1]; ?>
</table>行业新闻<table></table></td>
  </tr>

<!-- list sc=sub_companies-->
<?php $_from = $this->_tpl_vars['Lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['company_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['company_list']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['data']):
        $this->_foreach['company_list']['iteration']++;
?>

  <tr class="corhui"> 
    <td width="70" align="center">
	<!-- 这里默认VIP会员的类型为4 -->
	<img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/grade/<?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['data']['MemberCreditLevel'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')))) ? $this->_run_mod_handler('cat', true, $_tmp, ".gif") : smarty_modifier_cat($_tmp, ".gif")); ?>
"></td>
    <td width="405"><?php if ($this->_tpl_vars['data']['MemberUserType'] == 4): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/vip_company.gif" alt="&lt;{$data.MemberUserType}&gt;">&nbsp;<?php endif; ?><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
space.php?userid=<?php echo $this->_tpl_vars['data']['MemberUsername']; ?>
" class="font14blak"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['data']['Name'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('replace', true, $_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords']) : smarty_modifier_replace($_tmp, $_GET['skeyword'], $this->_tpl_vars['searchwords'])); ?>
</a>
          <!-- <a href=#><img src="images/mark.gif" border="0"></a> --><?php if ($this->_tpl_vars['data']['CreateTime'] != ""): ?><span class="time">(<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
company/<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['CreateTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y/%m/%d") : smarty_modifier_date_format($_tmp, "%Y/%m/%d")); ?>
/"><?php echo ((is_array($_tmp=$this->_tpl_vars['data']['CreateTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</a>)</span><span>[<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
company.php?ac=list&industryname=<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['IndustryName'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
"><?php echo $this->_tpl_vars['AllIndustry'][$this->_tpl_vars['data']['IndustryId']]; ?>
</a>]</span><?php endif; ?>
		  <br />
    <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['data']['Description'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
</td>
    <td width="70"><div align="center">
		  <br />
		  <?php if ($this->_tpl_vars['data']['CompanyPicture']): ?><img src="media/attachment/<?php echo $this->_tpl_vars['data']['CompanyPicture']; ?>
" width="117" height="63" alt="&lt;{$data.Name}&gt;" /><?php endif; ?><?php echo $this->_tpl_vars['ManageTypes'][$this->_tpl_vars['data']['manage_type']]; ?>
</div></td>
    <td width="70">
<div align="center"><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
company/list.php?province_id=<?php echo $this->_tpl_vars['data']['CompanyProvinceId']; ?>
"><?php echo $this->_tpl_vars['AllArea'][$this->_tpl_vars['data']['CompanyProvinceId']]; ?>
</a><br /><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
company/list.php?city_id=<?php echo $this->_tpl_vars['data']['CompanyCityId']; ?>
"><?php echo $this->_tpl_vars['AllArea'][$this->_tpl_vars['data']['CompanyCityId']]; ?>
</a></div></td>
    <td width="75" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/type/<?php echo ((is_array($_tmp=@$this->_tpl_vars['data']['Membertype'])) ? $this->_run_mod_handler('default', true, $_tmp, 'default') : smarty_modifier_default($_tmp, 'default')); ?>
.gif" alt="&lt;{$data.MemberCreditLevel}&gt;"></td>
    <td width="70" align="center"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/feed.gif" width="20" height="14"><br> 
      <a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
space.php?do=feedback&userid=<?php echo $this->_tpl_vars['data']['MemberUsername']; ?>
">给我留言</a></td>
  </tr>

<?php endforeach; else: ?></table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="5" cellspacing="1">
  <tr class="corhui"> 
    <td align="center"><div align="center">暂无数据</div></td>
  </tr>
</table>
<?php endif; unset($_from); ?>
<!-- //list -->
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="corhui">
  <tr> 
    <td> <table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" cellpadding="3" cellspacing="0">
        <tr> 
          <td height="20"><?php echo $this->_tpl_vars['ByPages']; ?>
</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr> 
    <td height="1" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
  </tr>
  <tr> 
    <td> 
      <table width="100%" cellpadding="3" cellspacing="3" class="coryellow2">
        <tr  > 
          <td width="65%" valign="baseline"><!-- old pages1 --></td>
          <td align="right" valign="baseline"><!-- old pages2 --></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><div class="bgcontain"> 
	<div id="abc"><span>字母检索</span>
	<?php $_from = $this->_tpl_vars['Letters']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['le']):
?>
	<a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
company.php?ac=list&le=<?php echo $this->_tpl_vars['le']; ?>
&sid=<?php echo $_GET['sid']; ?>
&usertype=<?php echo $_GET['usertype']; ?>
"><?php echo $this->_tpl_vars['le']; ?>
</a>
	<?php endforeach; endif; unset($_from); ?>
	<span id="totop">
	<a href="#" class="BTT">回到顶部</a></span>
	</div>
	</div>
	</td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
var linkage = new Linkage("dataSrc", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/industry_option.xml");
linkage.BLANK_SELECT = "--行业类别--";
linkage.init();
var linkage2 = new Linkage("dataSrc2", "<?php echo $this->_tpl_vars['JS_PATH']; ?>
media/xml/area.xml");
linkage2.BLANK_SELECT = "请选择地区";
linkage2.init();
</script>